import request from '@/utils/request'

// 查询健康提醒列表
export function listHealthreminder(query) {
  return request({
    url: '/health_reminder/health_reminder/list',
    method: 'get',
    params: query
  })
}

// 查询健康提醒详细
export function getHealthreminder(reminderId) {
  return request({
    url: '/health_reminder/health_reminder/' + reminderId,
    method: 'get'
  })
}

// 新增健康提醒
export function addHealthreminder(data) {
  return request({
    url: '/health_reminder/health_reminder',
    method: 'post',
    data: data
  })
}

// 修改健康提醒
export function updateHealthreminder(data) {
  return request({
    url: '/health_reminder/health_reminder',
    method: 'put',
    data: data
  })
}

// 删除健康提醒
export function delHealthreminder(reminderId) {
  return request({
    url: '/health_reminder/health_reminder/' + reminderId,
    method: 'delete'
  })
}
